package com.hefei.api.customer.manager;

import java.util.List;

import com.hefei.api.customer.vo.SysMenu;
import com.hefei.api.customer.vo.User;
import com.hefei.api.customer.vo.easyui.PageHelper;
import com.hefei.common.exception.ClientException;

public interface IUserManager {
	/*
	 * 登录验证
	 */
	public User login(String username)throws ClientException;
	
	public String getUsernameById( int id);

	public List<SysMenu> getMenuByUserId( int userId);
	
	public List<User> getDatagrid();

	public Long getDatagridTotal(User user,Integer sysid);

	public List<User> datagridUser(PageHelper page,Integer sysid);

	public void addUser(User user);

	public void editUser(User user);
	
	public void deleteUser(int id);

}
